home *** CD-ROM | disk | FTP | other *** search
/ Personal Computer World 2009 February / PCWFEB09.iso / Software / Linux / Kubuntu 8.10 / kubuntu-8.10-desktop-i386.iso / casper / filesystem.squashfs / etc / acpi / sleepbtn.sh < prev    next >
Linux/UNIX/POSIX Shell Script  |  2008-10-14  |  398b  |  13 lines

  1. #!/bin/sh
  2.  
  3. # This script is part of the KEY TRANSLATION part of acpi-support. Compare with
  4. # sleep.sh, which is part of the SUSPEND part of acpi-support. This script is
  5. # intended to translate a key event which is not seen as a suspend key press by
  6. # the rest of the system.
  7.  
  8.  
  9. test -f /usr/share/acpi-support/key-constants || exit 0
  10.  
  11. . /usr/share/acpi-support/key-constants
  12. acpi_fakekey $KEY_SLEEP
  13.